from django.db import models

# Create your models here.
class JosWeblinks(models.Model):
    id = models.IntegerField(primary_key=True)
    catid = models.IntegerField()
    sid = models.IntegerField()
    title = models.CharField(max_length=250)
    alias = models.CharField(max_length=255)
    url = models.CharField(max_length=250)
    description = models.TextField()
    date = models.DateTimeField()
    hits = models.IntegerField()
    published = models.IntegerField()
    checked_out = models.IntegerField()
    checked_out_time = models.DateTimeField()
    ordering = models.IntegerField()
    archived = models.IntegerField()
    approved = models.IntegerField()
    params = models.TextField()
    class Meta:
        db_table = u'jos_weblinks'
